package com.ftg.learn.comm.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ftg.learn.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author kangjx
 * @since 2022-09-30
 */
@Data
@ApiModel(value = "员工表",description = "员工表映射对象")
@TableName("sys_employee")
public class Employee extends BaseEntity {

    /**
     * 员工姓名
     */
    @TableField("emp_name")
    @ApiModelProperty(value = "员工姓名",example = "张进泉",required = true)
    private String empName;

    /**
     * 员工性别
     */
    @TableField("emp_sex")
    @ApiModelProperty(value = "性别",example = "男",required = true)
    private String empSex;

    /**
     * 员工编号|或者学号
     */
    @TableField("emp_code")
    @ApiModelProperty(value = "员工编号|或者学号",example = "stu10001",required = true)
    private String empCode;

    /**
     * 字典表关联，员工类型  学生   老师 
     */
    @TableField("emp_type")
    @ApiModelProperty(value = "员工类型",example = "10002",required = true)
    private Integer empType;

    /**
     * 员工职务，非必要字段
     */
    @TableField("emp_job")
    @ApiModelProperty(value = "员工职务",example = "")
    private String empJob;

    /**
     * 出生日期
     */
    @TableField("emp_birthday")

    private String empBirthday;

    /**
     * 班级编号,关联班级表
     */
    @TableField("clazz_id")
    @ApiModelProperty(value = "班级编号,关联班级表",example = "1002")
    private Integer clazzId;

}
